package com.zee.activity.ui

import android.Manifest
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import com.zee.activity.R
import com.zee.utils.SuperZPerMissionUtils

import com.zee.utils.UIUtils
import kotlinx.android.synthetic.main.activity_permission.*

/**
 * 权限申请测试
 */
class PermissionRequestActivity : BaseActivity() {
    override fun getContentViewLayoutResID(): Int {
        return R.layout.activity_permission;
    }

    override fun initViews() {
        setContentView(R.layout.activity_permission)

        id_permission_start.setOnClickListener {

            val perMissionUtils = SuperZPerMissionUtils.getInstance();
//            perMissionUtils.add(Manifest.permission.ACCESS_FINE_LOCATION).requestPermissions { permissions -> UIUtils.showToastShort(permissions!!.size.toString()) }
        }
    }



}
